/**
 * 整个应用的信息本地存储的共享类local SharedObject
 * 存储包括：窗口tab array
 **/
package cn.com.liuwenquan.flex.model.manager
{
	import flash.net.SharedObject;
	
	public class MainStateManagers
	{
		private static var m_so:SharedObject = SharedObject.getLocal("cn.com.liuwenquan.flex","/");
		
		private static const TAB_OPENORCLOSENO = "tabopenorcloseNo";
		
		//保存
		public static function setTabState(a:Array):void {
			m_so.data[TAB_OPENORCLOSENO] = a;
			m_so.flush();
		}
		public static function getTabState():Array {
			return m_so.data[TAB_OPENORCLOSENO];
		}

	}
}